home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio
/
Ham Radio CD-ROM (Emerald Software) (1995).ISO
/
log
/
logbook
/
lz60.prg
< prev
next >
Wrap
Text File
|
1986-12-03
|
1KB
|
49 lines
*LZ60 SCAN LOG FOR LZ60 AWARD REQUIREMENTS
? 'LZ60 AWARD CONTACTS/POINTS SUMMARY'
ACCEPT 'Do you want Hard Copy (Y/N) ? ' TO pf
IF pf = 'Y'
SET PRINT ON
ENDIF
USE &logbook INDEX &logndx
FIND LZ
STORE 0 TO points
STORE 0 TO spoints
ERASE
? ' LZ 60 AWARD CONTACTS '
? ' CALL DATE TIME BD TX RX MODE '
?? 'POWER COMMENTS POINTS'
? ' ----------------------------------------'
?? '------------------------------'
DO WHILE call = 'LZ' .AND. .NOT. EOF
* date has to be in yy/mm/dd format
IF date >= '86/07/01' .AND. date <= '86/12/31'
IF call = 'LZ6'
STORE 6 TO points
ELSE
STORE 1 TO points
ENDIF
STORE spoints + points TO spoints
? call,date,time,band,tx,rx,mode,power,comments,points
STORE CALL TO ncall
STORE band TO nband
DO WHILE call = ncall .AND. .NOT. EOF
* .AND. band = nband
* if same call on different bands is allowed
* SKIP DUPES
SKIP
ENDDO
IF .NOT. EOF
SKIP -1
ENDIF
ENDIF
SKIP
ENDDO
USE
? '-------------------------------'
?? '----------------------------------------'
? 'TOTAL POINTS = ',spoints
SET PRINT OFF
RELEASE spoints,points,ncall,nband,pf
WAIT
RETURN